package com.lxt.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author kevin.lv
 * @date 2023/3/6 13:28
 */
public interface FdfsService {


    /**
     * 使用FastDFS上传文件
     *
     * @param file
     * @param fileExtName
     * @return
     * @throws Exception
     */
    public String upload(MultipartFile file, String fileExtName) throws Exception;

}
